package model.p3_fitnessapp;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

import android.text.format.DateFormat;

public class Timemanager {

	SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy");
	
	public Calendar createCurrentCalendar() {
		Calendar cal = Calendar.getInstance();
		return cal;
	}
	
	public String calendarToString(Calendar cal){
		String str = "";
		str = "" + dateFormat.format(cal.getTime());
		System.out.println(str);
		return str;
	}
}
